package com.zhuoyue.biz.core.api.dto.localscene;

import com.baomidou.mybatisplus.annotation.TableField;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * @ClassName: GateWayDeviceDTO
 * @Description:
 * @author wjming
 * @Date 2021-07-14 20:21
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class GateWayDeviceDTO implements Serializable {

    /**
     * 命令
     */

    private String cmd;

    @TableField(value = "`control_param`")
    private Object controlParam;

    /**
     * 网关ID
     */
    @TableField(value = "`device_id`")
    private String deviceId;

    @TableField(value = "`device_type`")
    private String deviceType;

    @TableField(value = "`img_name`")
    private String imgName;

    /**
     * 意图
     */

    private String purpose;

    /**
     * 控制状态
     */

    private String state;

    /**
     * 网关状态
     */
    @TableField(value = "`state_des`")
    private String stateDes;

    @TableField(value = "`title_des`")
    private String titleDes;
    /**
     * 排序
     */
    @TableField(value = "`sort`")
    private String sort;

    private String homeName;

}
